package com.ljx.rabbit.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class OrderVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private LocalDateTime createTime;
    private LocalDateTime payEnd;

    @ApiModelProperty(value = "订单支付方式 1为在线支付, 2为货到付款")
    private Integer payType;

    @ApiModelProperty(value = "订单状态 1为待付款, 2为待发货, 3为待收货, 4为待评价, 5为已完成, 6为已取消")
    private Integer orderState;

    private String payMoney;

    private Integer postFee;

    @ApiModelProperty(value = "支付渠道 1支付宝, 2微信,3余额")
    private Integer payChannel;

    @ApiModelProperty(value = "订单金额合计 ")
    private String totalMoney;

    @ApiModelProperty(value = "订单数量合计")
    private Integer totalNum;

    @ApiModelProperty(value = "订单配送类型 必需 配送时间类型，1为不限，2为工作日，3为双休或假日")
    private Integer deliveryTimeType;

    private Long addressId;

    private LocalDateTime payTime;

    private LocalDateTime endTime;

    private LocalDateTime evaluationTime;

    private LocalDateTime arrivalEstimatedTime;

    private Long userId;
    private Long countdown;
}
